package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.Scenic;
import cn.wolfcode.luowowo.comment.query.ScenicQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IScenicService {

    List<Scenic> selectAll();

    Scenic selectByPrimaryKey(Long id);

    void saveOrUpdate(Scenic scenic);

    List<Scenic> selectByDestId(Long id);

    List<Scenic> selectByTOP5(Long destId);

    List<Scenic> selectByHot();

    PageInfo query(ScenicQueryObject qo);
}
